﻿<?xml version="1.0"?>
<configuration>
  <appSettings/>
  <connectionStrings/>

  <system.web>
    <compilation debug="true" targetFramework="4.0">
    </compilation>
    <!--
      The <authentication> section enables configuration 
      of the security authentication mode used by 
      ASP.NET to identify an incoming user. 
    -->
    <authentication mode="Windows"/>
    <!--
       The <customErrors> section enables configuration 
       of what to do if/when an unhandled error occurs 
       during the execution of a request. Specifically, 
       it enables developers to configure html error pages 
       to be displayed in place of a error stack trace.

       <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
         <error statusCode="403" redirect="NoAccess.htm" />
         <error statusCode="404" redirect="FileNotFound.htm" />
       </customErrors>
    -->
    <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
      <!-- Deployment specific, I'm hosting this as a virtual directory, you wouldn't need this. -->
      <namespaces>
        <remove namespace="MvcSiteMapProvider.Web.Html" />
      </namespaces>
    </pages>
    
    <webServices>
      <protocols>
        <add name="HttpPost"/>
      </protocols>
    </webServices>

  </system.web>
  <!-- 
        The system.webServer section is required for running ASP.NET AJAX under Internet
        Information Services 7.0.  It is not necessary for previous version of IIS.
    -->
</configuration>
